package cn.jiedh.app.meiweidk.register;

import android.view.View;
import android.widget.TextView;

import cn.jiedh.app.meiweidk.R;
import cn.jiedh.app.meiweidk.Utils.tool.ActivityUtil;
import cn.jiedh.app.meiweidk.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * @name：用户注册协议
 * @author：司马林
 * @phone：18423134135
 * @createTime：2017/10/20
 */

public class UserAgreementActivity extends BaseActivity {
    public static final int REGISTER_RESULT_CODE = 2;
    @BindView(R.id.bar_tv_title)
    TextView title;
    @BindView(R.id.registration_tv)
    TextView registrationTv;

    @Override
    protected int getLayoutView() {
        return R.layout.activity_user_agreement;
    }

    @Override
    protected void initView(View view) {
        title.setText("用户协议");

    }

    @Override
    protected void initData() {
    }

    @OnClick(R.id.bar_img_back)
    public void onClick() {
        ActivityUtil.goBack(this);
    }

    @Override
    public void finish() {
        setResult(REGISTER_RESULT_CODE);
        super.finish();
    }
}
